import { PageModalService } from 'src/app/shared/service/page-modal-service';
import { Component, OnInit, Input } from "@angular/core";
import { AppGlobalService } from "src/app/shared/service/app-global.service";

@Component({
  selector: "app-horizontal-list",
  templateUrl: "./horizontal-list.component.html",
  styleUrls: ["./horizontal-list.component.scss"]
})
export class HorizontalListComponent implements OnInit {
  @Input() tagData: any;

  constructor(private pageModalService: PageModalService) {}

  ngOnInit() {
    console.log(this.tagData);
  }
  handleClick(item) {
    this.pageModalService.openPage(item);
  }
}
